﻿using Microsoft.Practices.Unity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;

namespace AutoStockTrade
{
    static class Program
    {
        /// <summary>
        /// 应用程序的主入口点。
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new Form1());
        }

        private static void RegistObject()
        {
            IUnityContainer container = CacheSingleton.Instance.GetUnityContainer();
            container.RegisterType<IGetData, GetDataPresenter>();
            container.RegisterType<IStockOperation, SendDataPrensenter>();
        }
    }
}
